import 'package:json_annotation/json_annotation.dart';

import 'EcyMyOrder.dart';

part 'EcyMyOrderListModel.g.dart';

@JsonSerializable()
class EcyMyOrderListModel {

  int size;
  int total;
  int pages;
  List<EcyMyOrder> records;

  EcyMyOrderListModel(this.size, this.total, this.pages, this.records);

  factory EcyMyOrderListModel.fromJson(Map<String,dynamic> json) => _$EcyMyOrderListModelFromJson(json);
  Map<String, dynamic> toJson() => _$EcyMyOrderListModelToJson(this);
}
